package com.example.studytest.Repository.OpenData;

import com.example.studytest.Entity.OpenData.WebSite;
import com.example.studytest.Entity.Researcher.T_researcher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface WebSiteRepository extends JpaRepository<WebSite,Integer> {
    @Query(value = "select * from website_info where id = (select max(id) from website_info)", nativeQuery = true)
    WebSite FindWebInfo();

}
